<template>
  <div>
    <NstdRadioGroup v-model="radio1" size="large" :options="options">
    </NstdRadioGroup>
  </div>
  <div style="margin-top: 20px">
    <NstdRadioGroup v-model="radio2" :options="options">
    </NstdRadioGroup>
  </div>
  <div style="margin-top: 20px">
    <NstdRadioGroup v-model="radio3" size="small" :options="options1">
    </NstdRadioGroup>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const radio1 = ref('New York')
const radio2 = ref('New York')
const radio3 = ref('New York')
const options1 = [
  {
    type: 'button',
    label: '1',
    value: 'New York',
  },
  {
    type: 'button',
    label: '2',
    value: 'Washington',
    disabled: true
  }
]
const options = [
  {
    type: 'button',
    label: '1',
    value: 'New York',
  },
  {
    type: 'button',
    label: '2',
    value: 'Washington'
  }
]
</script>
